# coding:utf-8
# Funny (qq:516110288)


#    删除a_list中所有的2

a_list = [1,2,3,2,2]
b_list = a_list[:]
for item in b_list:
    if item == 2:
        a_list.remove(item)
print(a_list)

code = compile("open('mycode.py','w',encoding='utf-8').write('我是funny')",'mydode.py','exec')
eval(code)




import random
num = random.randint(0,20)
for i in range(1,6):
    num1 = int(input("输入0-20的数字:"))
    if num1 > num:
        print("猜大了")
    elif num1 < num:
        print("猜小了")
    else:
        print("中奖了")
        break
print("结束")